package com.skywolf.chem.live.mapper;

import com.skywolf.chem.live.entity.Videoitem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.skywolf.chem.manager.param.VideoItemDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 视频附属表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2020-12-01
 */
@Mapper
public interface VideoitemMapper extends BaseMapper<Videoitem> {
    List<VideoItemDto> getItemList(@Param("fatherId") Long fatherId);

    VideoItemDto videoItemInfo(@Param("id") Long id);

    int delVideoItem(@Param("id") Long id);
}
